package com.kky.pp.entity

data class MemberSubscribeEntity(
    val code: Int,
    val data: Data,
    val msg: String 
) {
    data class Data(
        val userCode: String?,
        val memberCode: String?,
        val memberType: String?,
        val refreshTime: Long?,
        val status: Int?,
        val points: Int?,
        val autoRenew: Int?,//1 open、2 close
        val expiryDate: String?,
        val subscriptions: ArrayList<Subscriptions>,
        val memberDescription: MemberDescription,
        val productDescriptions: List<ProductDescriptions>,
        val topTag: String?,
    ){
        data class MemberDescription(
            val tip:String,
            val content:String,
            val header:String,
            val productDescriptions:String?,
        )
        data class Subscriptions(
            val tip:String,
            val content:String,
            val icon:String,
        )
        data class ProductDescriptions(
            val tip:String?,
            val productCode:String,
            val benefitNum:String,
            val benefitUnit:String,
            val price:String,
            val priceOriginal:String,
            val saving:String?,
            var check:Boolean,
            var popButtonTitle:String?,
            var popButtonContent:String?,
        )
    }
}